package com.gxa.shop.dao.cart;

import com.gxa.shop.bean.pojo.Cart;
import com.gxa.shop.bean.vo.CartVo;

import java.util.List;

/**
 * com.gxa.shop.dao.cart 
 * User: 刁彦侨
 * Date: 2024/12/19 15:27
 * motto:   逆水行舟不进则退
 * Description: 
 * Version: V1.0
*/public interface CartDao {
    List<CartVo> findById(String id);

    int insert(Cart cart);

    int deleteById(Integer userId, Integer productId);

    int deleteByUserId(Integer userId);

    int update(Cart cart);
}
